package streamforce.workload;

public class PolicyInfo {
	int streamId, userId;
	String policy; // to be used to generate transformation key
	String selectCondition; //to be appended to the Esper query
	int windowSize; 
	
	public PolicyInfo(int streamId, int userId, String policy, String selectCondition) {
		super();
		this.streamId = streamId;
		this.userId = userId;
		this.policy = policy;
		this.selectCondition = selectCondition; 
	}
	public PolicyInfo(int streamId, int userId, String policy, String selectCondition, int windowSize) {
		this(streamId,userId,policy,selectCondition);
		this.windowSize = windowSize; 
	}
	
	
	public String getSelectCondition() {
		return selectCondition;
	}
	public void setSelectCondition(String selectCondition) {
		this.selectCondition = selectCondition;
	}
	
	public int getWindowSize(){
		return this.windowSize;
	}
	
	public int getStreamId() {
		return streamId;
	}
	public void setStreamId(int streamId) {
		this.streamId = streamId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getPolicy() {
		return policy;
	}
	public void setPolicy(String policy) {
		this.policy = policy;
	}
	
	
}
